<template>
	<view>
		<view class="card">

		</view>
		<view @click="addDevice" class="add">
			<img style="width: 20%;margin-left: 40%;margin-top: 4%;" src="../.././static/add.png" alt="">
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		onload() {

		},
		methods: {
			addDevice() {
				uni.navigateTo({
					url: '/pages/list/adddevice'
				})
			}
		}
	}
</script>

<style>
	.card {
		height: 260rpx;
		background-color: aquamarine;
		width: 90%;
		margin: 5%;
		border-radius: 24rpx;
	}

	.add {
		width: 60%;
		height: 120rpx;
		background-color: #7bbfea;
		border-radius: 50rpx;
		margin-left: 20%;
		box-shadow: 5rpx 10rpx 5rpx #E3F2FD;
	}
</style>